import { requestData } from "../request.js";
//用户登录
export const userLogin = (params, success_callback, error_callback) => {
    return requestData(params, 'post', `/login`, success_callback, error_callback);
};

//用户登出
export const userLogout = (params, success_callback, error_callback) => {
    return requestData(params, 'POST', "/logout", success_callback, error_callback);
};

